﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/_layouts/application.master" Inherits="AWS.SLAM.Administration.Activation, AWS.SLAM, Version=1.0.3.0, Culture=neutral, PublicKeyToken=28f8d30936a98765" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
    Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral ID="PageTitle"
						Text="SLAM Control Panel - Activation"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral ID="TitleArea"
						Text="SLAM Control Panel - Activation"
						EncodeMethod="HtmlEncode" runat="server"/>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:FormDigest ID="spFormDigestControl" runat="server" />
    <div>Perform Activation tasks against SLAM.</div>
    <br />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderId="PlaceHolderMain" runat="server">
    <wssuc:InputFormSection runat="server" Title="Activate/Reactivate SLAM" Description="Attaches or reattaches SLAM's set of event receivers." >
        <Template_InputFormControls>
            <asp:Button ID="btnAttachEvents" runat="server" CssClass="ms-ButtonHeightWidth" Text="Activate" OnClick="btnAttachEvents_Click" />
        </Template_InputFormControls>
    </wssuc:InputFormSection> 
    
    <wssuc:InputFormSection runat="server" Title="Deactivate SLAM" Description="Detaches all event receivers associated with SLAM." >
        <Template_InputFormControls>
            <asp:Button ID="btnDetachEvents" runat="server" CssClass="ms-ButtonHeightWidth" Text="Deactivate" OnClick="btnDetachEvents_Click" />
        </Template_InputFormControls>
    </wssuc:InputFormSection>
    
    <wssuc:InputFormSection runat="server" Title="Synchronize SLAM" Description="Performs a full data synchronization between SLAM and its configured Lists and Content Types." >
        <Template_InputFormControls>
            <asp:Button ID="btnSynchronize" runat="server" CssClass="ms-ButtonHeightWidth" Text="Synchronize" OnClick="btnSynchronize_Click" />
        </Template_InputFormControls>
    </wssuc:InputFormSection>
    
    <wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
        <Template_Buttons>
            <asp:Button UseSubmitBehavior="false" runat="server" CssClass="ms-ButtonHeightWidth" Text="Back" id="btnBack" OnClick="btnBack_Click"/>
        </Template_Buttons>
    </wssuc:ButtonSection>
</asp:Content>
